//
//  TitleContentCell.m
//  ImGuider
//
//  Created by 王鹏宇 on 2018/1/30.
//  Copyright © 2018年 imguider. All rights reserved.
//

#import "TitleContentCell.h"

@implementation TitleContentCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)configDataWith:(NSString *)title Content:(NSString *)content{
    
    if (title.length > 0) {
        self.titleLabel.text = title;
    }else {
        self.titleLabelH.constant = 0.f;
    }
    
    self.contentLabel.text = content;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
